projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2b5436
)
build: Error if no backends enabled
author
Patrick Griffis
<tingping@tingping.se>
Tue, 27 Feb 2018 18:42:28 +0000
(13:42 -0500)
committer
Patrick Griffis
<tingping@tingping.se>
Tue, 27 Feb 2018 18:42:28 +0000
(13:42 -0500)
gdk/meson.build
patch
|
blob
|
history
diff --git
a/gdk/meson.build
b/gdk/meson.build
index 267f53fd27ee78eb455c778a48068a234fa4a01b..466e11ff41cf75fcbc371e105e04897cf44d6953 100644
(file)
--- a/
gdk/meson.build
+++ b/
gdk/meson.build
@@
-204,6
+204,10
@@
foreach backend : ['broadway', 'quartz', 'wayland', 'win32', 'x11']
endif
endforeach
+if gdk_backends.length() == 0
+ error('No backends enabled')
+endif
+
# FIXME: might have to add '-xobjective-c' to c_args for quartz backend?
libgdk = static_library('gdk',
sources: [gdk_sources, gdk_backends_gen_headers, gdkconfig],